<?php
$this->breadcrumbs=array(
	'Usuários'=>array('index'),
	$model->id,
);

echo $this->renderPartial('_menu', array('menu_users'=>$menu_users));
?>

<h1>Usuário: #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'username',
		'email',
		'profile',
                array(
                       'label'=>'classe',
                       'type'=>'raw',
                       'value'=>Lookup::item('Classe',$model->classe),
                     ),
                array(
                       'name'=>'party',
                       'type'=>'raw',
                       'value'=>Lookup::item('Party',$model->party),
                    ),        
            	 array(
                    'name'=>'img',
                    'type'=>'image',
                    'value'=> Yii::app()->baseUrl. "/images/".$model->img,  
                ),  
	),
)); ?>
